package cn.zsxmlv.modules.sys.service.impl;

import cn.zsxmlv.modules.sys.dao.SysRoleMenuDao;
import cn.zsxmlv.modules.sys.dao.SysUserRoleDao;
import cn.zsxmlv.modules.sys.entity.SysRoleMenuEntity;
import cn.zsxmlv.modules.sys.entity.SysUserRoleEntity;
import cn.zsxmlv.modules.sys.service.SysRoleMenuService;
import cn.zsxmlv.modules.sys.service.SysUserRoleService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: zs
 * @description:
 * @date: 2019/3/5 14:16
 */
@Service
@Transactional
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleDao, SysUserRoleEntity> implements SysUserRoleService {

    @Override
    public int deleteBatch(Integer[] roleIds) {
        return baseMapper.deleteBatch(roleIds);
    }
}
